This is what we call it everywhere else, so just be consistent.
It also lines up with metadata_checksum better.
https://bugzilla.gnome.org/show_bug.cgi?id=707727
OstreeRepoFile *a_repof = (OstreeRepoFile*) a;
OstreeRepoFile *b_repof = (OstreeRepoFile*) b;
- if (strcmp (ostree_repo_file_tree_get_content_checksum (a_repof),
- ostree_repo_file_tree_get_content_checksum (b_repof)) == 0)
+ if (strcmp (ostree_repo_file_tree_get_contents_checksum (a_repof),
+ ostree_repo_file_tree_get_contents_checksum (b_repof)) == 0)
{
ret = TRUE;
goto out;
}
if (repo_dir && repo_dir_was_empty)
- ostree_mutable_tree_set_contents_checksum (mtree, ostree_repo_file_tree_get_content_checksum (repo_dir));
+ ostree_mutable_tree_set_contents_checksum (mtree, ostree_repo_file_tree_get_contents_checksum (repo_dir));
ret = TRUE;
out:
}
const char *
-ostree_repo_file_tree_get_content_checksum (OstreeRepoFile *self)
+ostree_repo_file_tree_get_contents_checksum (OstreeRepoFile *self)
{
return self->tree_contents_checksum;
}
const char *checksum,
GVariant *metadata);
-void ostree_repo_file_tree_set_content_checksum (OstreeRepoFile *self,
- const char *checksum);
-const char *ostree_repo_file_tree_get_content_checksum (OstreeRepoFile *self);
+const char *ostree_repo_file_tree_get_contents_checksum (OstreeRepoFile *self);
gboolean ostree_repo_file_is_tree (OstreeRepoFile *self);
if (opt_checksum)
{
if (type == G_FILE_TYPE_DIRECTORY)
- g_string_append_printf (buf, "%s ", ostree_repo_file_tree_get_content_checksum ((OstreeRepoFile*)f));
+ g_string_append_printf (buf, "%s ", ostree_repo_file_tree_get_contents_checksum ((OstreeRepoFile*)f));
g_string_append_printf (buf, "%s ", ostree_repo_file_get_checksum ((OstreeRepoFile*)f));
}